#include "Solution.h"
#include "../public/TestTime.h"
int main()
{
	TestTime(
		std::bind([]() {
			Solution::Solution1 so1;
			std::vector<int> nums = { 2,7,11,15,8,3,9,11,22,33,44,55,88,99,77,55,789,432,467 };
			auto ret1 = so1.twoSum(nums, 9);
			std::cout << ret1[0] << "," << ret1[1] << std::endl;
			})
	);

	TestTime(std::bind([] {
		Solution::Solution2 so12;
		std::vector<int> nums = { 2,7,11,15,8,3,9,11,22,33,44,55,88,99,77,55,789,432,467 };
		auto ret2 = so12.twoSum(nums, 9);
		std::cout << ret2[0] << "," << ret2[1] << std::endl;
		}));
}